
#pragma once
#include<string>
#include<iostream>
#include<vector>
#include <fstream>
#include<iomanip>
using namespace std;
class Multimedia
{
private: 
	string  title;
	int year;
	string media_type;

	



public:
	Multimedia(string t, int y, string mt);
	Multimedia();

	

	

	friend ostream& operator <<(ostream &out, Multimedia &m);
	friend istream& operator >>(istream &in, Multimedia &m);

	bool operator ==(Multimedia& obj);

	string gettitle() { return title;}

	
	void settitle(string t) { title=t; }
	void setyear(int y) { year=y; }
	void setmedia_type(string mt) { media_type=mt;}
	friend bool operator <(Multimedia &obj1, Multimedia &obj2);
};

